package org.ilead.iserve.model;

import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Resource entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "resource", catalog = "lop")
public class Resource implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String description;
	private Integer type;
	private String url;
	private String image;
	private String operator;
	private Timestamp gmtModify;
	private Timestamp gmtCreate;
	private Short status;

	// Constructors

	/** default constructor */
	public Resource() {
	}

	/** full constructor */
	public Resource(String name, String description, Integer type, String url,
			String image, String operator, Timestamp gmtModify,
			Timestamp gmtCreate, Short status) {
		this.name = name;
		this.description = description;
		this.type = type;
		this.url = url;
		this.image = image;
		this.operator = operator;
		this.gmtModify = gmtModify;
		this.gmtCreate = gmtCreate;
		this.status = status;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Timestamp getGmtModify() {
		return this.gmtModify;
	}

	public void setGmtModify(Timestamp gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Timestamp getGmtCreate() {
		return this.gmtCreate;
	}

	public void setGmtCreate(Timestamp gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Short getStatus() {
		return this.status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

}